//
//  UIImageView+FCDownload.h
//  辅城
//
//  Created by jianhong zhang on 2017/9/20.
//  Copyright © 2017年 吴 剑川. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WJCDefine.h"
#import "UIImageView+WebCache.h"
#import "SDWebImageDownloader.h"
@interface UIImageView (FCDownload)

/** 加载图片,加七牛参数 */
//- (void)fc_setOriginImage:(NSString *)originImageURL placeholder:(UIImage *)placeholder completed:(void (^)(UIImage*image))completedBlock;
///** 加载图片,根据图片宽高加七牛参数 */
//- (void)fc_setImageWidthAndHeightWithImage:(NSString *)originImageURL placeholder:(UIImage *)placeholder completed:(void (^)(UIImage*image))completedBlock;
/** 加载图片，不加七牛参数 */
- (void)fc_setImageWithURL:(NSString *)imageWithURL placeholder:(UIImage *)placeholder completed:(void (^)(UIImage*image))completedBlock;
/** 加载图片，不加七牛参数，带失败回调 */
- (void)fc_setImageWithURL:(NSString *)imageWithURL placeholder:(UIImage *)placeholder completed:(void (^)(UIImage *))completedBlock failed:(void (^)(void))failedBlock;

    /// 当前图片旋转动画利用layer转场动画实现,若要停止调用下面移除动画就行
-(void)startRotationAnimate;

    /// 移除layer专场动画
- (void)stopRotationAnimate;
//按钮配置url访问的区间域名
@property (nonatomic, strong) IBInspectable NSString *tapUrlPath;
@property (nonatomic, strong) IBInspectable NSArray *tapUrlPaths;
@end
